<input type="password" id="passwd" style="font-size:48px;">

<script>
    // This verifies the eye icon scales correctly with different font size. (48px)
    document.getElementById("passwd").focus();
    eventSender.keyDown('a');
</script>